package cn.calm.database.dao;

import java.sql.SQLException;
import java.util.List;

import org.apache.log4j.Logger;

import cn.calm.commons.dao.IBaseDao;
import cn.calm.database.entity.ColumnInfo;
import cn.calm.database.entity.TableInfo;

public interface IDatabaseDao extends IBaseDao{
	static final Logger logger=Logger.getLogger(IDatabaseDao.class);
	List<TableInfo> listAllTableView(TableInfo t) throws SQLException;

	List<ColumnInfo> listAllColumn(String name) throws SQLException;

	List<List<String>> executSql(String sql) throws SQLException;
	
	public TableInfo load(TableInfo t) throws SQLException;

}
